package com.open.capacity.finance.dto.audit_model_30;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.handler.inter.IExcelDataModel;
import cn.afterturn.easypoi.handler.inter.IExcelModel;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class ExcelData implements IExcelDataModel, IExcelModel {

    //行号
    private Integer rowNum;
    //错误消息
    private String errorMsg;


    @Excel(name = "单位名称")
    private String nameorganization;

    @Excel(name = "会计年度")
    private Integer yearly;

    @Excel(name = "部门")
    private String namedepartment;

    @Excel(name = "报销人")
    private String paymentperson;

    @Excel(name = "报销事项")
    private String content;

    @Excel(name = "出差人")
    private String person;

    @Excel(name = "车牌号")
    private String cph;

    @Excel(name = "驾驶员")
    private String driver;

    @Excel(name = "报销时间", format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createdate;

    @Excel(name = "目的地")
    private String stopcity;

    @Excel(name = "出发时间", format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone="GMT+8",pattern="yyyy-MM-dd HH:mm")
    private Date startdate;

    @Excel(name = "交车四化建", format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone="GMT+8",pattern="yyyy-MM-dd HH:mm")
    private Date leavedate;

    @Excel(name = "金额")
    private BigDecimal amount10;


}
